package net.pinnoocle.playdao.entity.shopPc.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.pinnoocle.playdao.entity.SimpleUserInfoVo;

import java.util.Date;

/**
 * @author ye
 * @Description
 * @create 2021-12-13 10:28
 */
@Data
public class CheckOutUserOrderDetailVo {

    @ApiModelProperty("订单id")
    private String orderId;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("微信昵称")
    private String wxName;

    @ApiModelProperty("头像")
    private String headPortrait;

    @ApiModelProperty(value = "用户优惠券id")
    private String userCouponId;

    @ApiModelProperty(value = "优惠券面值")
    private Double faceValue;

    @ApiModelProperty(value = "优惠券名称")
    private String couponName;

    @ApiModelProperty(value = "实际支付金额(券后价格)")
    private Double payPrice;

    @ApiModelProperty("定金")
    private Double appointPrice;

    @ApiModelProperty(value = "优惠券前金额")
    private Double totalPrice;

    @ApiModelProperty(value = "优惠金额")
    private Double discountPrice;

    @ApiModelProperty(value = "是否支付 0 未支付 1 已支付")
    private Integer hasPay;

    @ApiModelProperty(value = "是否评价 0 未评价 1 评价")
    private Integer hasEvaluate;

    @ApiModelProperty("支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    @ApiModelProperty("下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    @ApiModelProperty("优惠途径 0 无优惠 1 自定义优惠 2 优惠券 3 抹零 4 面单")
    private Integer discountWay;

    @ApiModelProperty("支付方式 0 线上支付 1 扫码 2 现金 3 pos机")
    private Integer payWay;
}
